﻿using AutoMapper;
using RBAC.Api.Demain.Entities;
using RBAC.Api.Read.Dto;

namespace RBAC.Api.Read
{
    /// <summary>
    /// 配置映射
    /// </summary>
    public class AutoMapperFile:Profile
    {
        public AutoMapperFile()
        {
            CreateMap<User, LoginDto>();
            CreateMap<Role, RoleDto>();
            CreateMap<User, UserDto>();
        }
    }
}
